package com.ysjy.course.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("金额统计")
public class MoneyStatistical implements Serializable {

    @ApiModelProperty("总金额")
    private int totalMoney;
    @ApiModelProperty("今日收款金额")
    private int todayMoney;
    @ApiModelProperty("本周收款金额")
    private int weekMoney;
    @ApiModelProperty("本月收款金额")
    private int monthMoney;

    @ApiModelProperty("退款总金额")
    private int refundTotalMoney;
    @ApiModelProperty("今日退款金额")
    private int refundTodayMoney;
    @ApiModelProperty("本周退款金额")
    private int refundWeekMoney;
    @ApiModelProperty("本月退款金额")
    private int refundMonthMoney;

    @ApiModelProperty("今日线下收费金额")
    private int offlineTodayMoney;
    @ApiModelProperty("今日线下退款金额")
    private int offlineTodayRefundMoney;

    @ApiModelProperty("退款申请数量")
    private int refundNum;
    @ApiModelProperty("已处理退款申请数量")
    private int auditRefundNum;
    @ApiModelProperty("未处理退款申请数量")
    private int unAuditRefundNum;

    @ApiModelProperty("报名人数")
    private int signUpNum;
    @ApiModelProperty("今日新增报名人数")
    private int todaySignUpNum;
    @ApiModelProperty("本周新增报名人数")
    private int weekSignUpNum;

    public int getUnAuditRefundNum() {
        return refundNum - auditRefundNum;
    }
}
